package com.suke.czx.modules.examstack.exam.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.examstack.exam.dao.Exam2PaperDao;
import com.suke.czx.modules.examstack.exam.entity.Exam2PaperEntity;
import com.suke.czx.modules.examstack.exam.service.Exam2PaperService;



@Service("exam2PaperService")
public class Exam2PaperServiceImpl implements Exam2PaperService {
	@Autowired
	private Exam2PaperDao exam2PaperDao;
	
	@Override
	public Exam2PaperEntity queryObject(Integer examId){
		return exam2PaperDao.queryObject(examId);
	}
	
	@Override
	public List<Exam2PaperEntity> queryList(Map<String, Object> map){
		return exam2PaperDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return exam2PaperDao.queryTotal(map);
	}
	
	@Override
	public void save(Exam2PaperEntity exam2Paper){
		exam2PaperDao.save(exam2Paper);
	}
	
	@Override
	public void update(Exam2PaperEntity exam2Paper){
		exam2PaperDao.update(exam2Paper);
	}
	
	@Override
	public void delete(Integer examId){
		exam2PaperDao.delete(examId);
	}
	
	@Override
	public void deleteBatch(Integer[] examIds){
		exam2PaperDao.deleteBatch(examIds);
	}
	
}
